package domain;

public class Address implements Cloneable {
	
	private String street;
	private String city;
	private int zip;
	
	
	public Address() {};
	
	public Address(String street,String city,int zip) {
		this.street = street;
		this.city = city;
		this.zip = zip;
		
	}


	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getStreet() {
		return street;
	}


	public void setStreet(String street) {
		this.street = street;
	}


	public int getZip() {
		return zip;
	}


	public void setZip(int zip) {
		this.zip = zip;
	}
	
	
	public Object clone() {
		
		Address add = new Address();
		add.setCity(this.city);
		add.setStreet(this.street);
		add.setZip(this.getZip());
		return add;
	}
	
	
	

}
